hi, i have a nice little metrics script thingy that runs through a configurable list of modules and pulls out various metrics. ...........................................................................
of Reqs: attribute "IE Object Type" == "Requirement" in the above example it does "of reqts linked" and "of reqts derived" - what i would like to be able to pull out is the number of reqts then add on an OR statement so "hasLinks(linkFilterOutgoing, "*") OR attribute "Justification" == "Derived Requirement") in simple terms - i can get it working with AND but i really want OR! would appreciate your help as i have tried to look through dxl books but nothing is working! thanks in advance doorsuser77 - Wed May 29 12:43:55 EDT 2013 |
Re: doors metrics OR statement I do not recognize your syntax
Huh? But let me answer your question. Use parenthesis. I don't use "&&" nor "||", I always use the corresponding "and" and "or". I think you are asking to turn:
into
or in your real world terms:
By indenting "and" out and "or" in we get a sense of the order of precedence. -Louie |